package com.xinjian.jianba.dto;

import java.io.Serializable;

import com.xinjian.jianba.annotation.Validator;
import com.xinjian.jianba.utils.RegexType;

public class CheckCodeDto implements Serializable {

	/**
	 *
	 * @since JDK 1.7
	 */
	private static final long serialVersionUID = 4575984463918644150L;
	private String code;
	// 手机号
	@Validator(regexType = RegexType.MOBILE, description = "手机号")
	private String mobile;

	private Integer type = 0;

	private Long userId ;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }


}
